﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace NotifyPilot.Models
{
    public class ServicesConfiguration
    {
        [Key]
        public String ServiceName { get; set; }
        public List<EventsClass> EventsClasses { get; set; }
    }

    public class EventsClass
    {
        [Key]
        public EventType EventType { get; set; }
        public Boolean Use { get; set; }
    }

    public enum EventType
    {
        WorkItemChangedEvent,
        CheckinEvent,
        Builds,
        Unknow
    }

    public class ConfigPath
    {
        public const string PathServices = @"~/App_data/Services.config";
        public const string YammerConfigFile = @"~/App_data/Yammer.config";
    }
}